$(document).ready(function() {
            $('.conteBox').slideUp();
            $(".creplay").click(function(event) {
                event.stopPropagation(); 
                $('.reBg').show();
            }); 
            $('.replayForm a').click(function(){$('.reBg').hide();$('.reBg textarea').val("");})
            $('.moreHui').click(function(){
                 $(this).parents(".conte").siblings('.conteBox').slideToggle();
            }) 
            $(".answerForm").Validform({
                btnSubmit:".release", 
                tiptype:function(msg){
                    layer.msg(msg,{icon:0,skin:'layer_mobile_login'});    
                },
                tipSweep:true,
                ajaxPost:true,
                callback:function(o){
                    layer.closeAll();
                    if (o.status == 4000) { 
                        layer.msg(o.message,{icon:0,skin:'layer_mobile_login'});       
                        setTimeout("window.location.href='/adminlogin'", 2000); 
                    }
                    else if (o.status == 200) {
                        layer.msg(o.message,{icon:0,skin:'layer_mobile_login'});       
                        setTimeout(function () {
                            window.location.reload();
                        }, 1000);   
                    } else {
                        layer.msg(o.message,{icon:0,skin:'layer_mobile_login'});    
                    } 
                }
            });
            $(".replayForm").Validform({ 
                tiptype:function(msg){
                    layer.msg(msg,{icon:0,skin:'layer_mobile_login'});    
                },
                tipSweep:true,
                ajaxPost:true,
                callback:function(o){
                    layer.closeAll();
                    if (o.status == 4000) { 
                        layer.msg(o.message,{icon:0,skin:'layer_mobile_login'});       
                        setTimeout("window.location.href='/adminlogin'", 2000); 
                    }
                    else if (o.status == 200) {
                        layer.msg(o.message,{icon:0,skin:'layer_mobile_login'});       
                        setTimeout(function () {
                            window.location.reload();
                        }, 1000);   
                    } else {
                        layer.msg(o.message,{icon:0,skin:'layer_mobile_login'});    
                    } 
                }
            });

        }); 
    function replayComment(val){
        var val=$("#repalyVal").val(val);
    }
        
